package com.zego.wawaji.ui.bean.wawa;

import com.zego.wawaji.base.data.BaseData;

import org.json.JSONArray;

import java.util.ArrayList;
import java.util.List;

/**
 * 娃娃列表
 * Created by Su on 2017/12/3.
 */
public class WawaList extends BaseData {
    private List<Wawa> wawaList = new ArrayList<>();

    @Override
    public void parseJson(String jsonStr) {
        JSONArray jsonArray = getJsonArray(jsonStr);
        this.wawaList = (List<Wawa>) getBaseDataList(jsonArray, Wawa.class);
    }

    public List<Wawa> getWawaList() {
        return wawaList;
    }
}
